package com.dingwen.treasure.kettle.config;

import com.dingwen.treasure.kettle.bo.CarteBo;
import com.dingwen.treasure.kettle.bo.DatabaseMetaBo;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;


/**
 * 　KettleConfig
 * 　@author dingwen
 * 　@date 2022/8/20
 */
@Configuration(proxyBeanMethods = false)
@ConfigurationProperties(prefix = "kettle")
@Setter
@Getter
public class KettleConfig {

    /**
     * kettle 家目录： 初始化会自动生成.kettle文件在该目录,kettle.properties,repositories.xml,shared.xml
     */
    private String homePath;

    /**
     * kettle 数据资源库信息
     */
    private DatabaseMetaBo databaseMeta;


    /**
     * kettle carte 服务配置
     */
    private CarteBo carte;


}
